package cn.lan.code.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.util.List;

/**
 * 创建项目参数
 *
 * @author lanping
 * @version 1.0
 * @date 2021-11-03
 */
@ApiModel(value = "创建项目参数", description = "创建项目参数")
public class ProjectParam{

    @ApiModelProperty(value = "数据库类型 mysql db2 sqlserver")
    private String dbType;

    @ApiModelProperty(value = "数据库驱动")
    private String driver;

    @ApiModelProperty(value = "数据库连接地址")
    private String url;

    @ApiModelProperty(value = "数据库模式  DB2数据库必须")
    private String schema;

    @ApiModelProperty(value = "用户名")
    private String user;

    @ApiModelProperty(value = "密码")
    private String password;

    @ApiModelProperty(value = "项目名称 如 homi-recycle")
    private String projectName;

    @ApiModelProperty(value = "项目简写 如 homi")
    private String projectSimpleName;

    @ApiModelProperty(value = "项目系统名称 例如 xxx管理系统")
    private String projectSysName;

    @ApiModelProperty(value = "模块名称")
    private String moduleName;

    @ApiModelProperty(value = "端口 默认8080")
    private Integer port = 8080;

    @ApiModelProperty(value = "项目包名 cn.logicalthinking")
    private String packageName;

    @ApiModelProperty(value = "开发者名称")
    private String author;

    @ApiModelProperty(value = "是否生成前端页面 Y 是 N 否")
    private String createHtmlPage;

    @ApiModelProperty(value = "基础访问路径")
    private String accessBaseUrl;

    @ApiModelProperty(value = "表名集合")
    private List<String> tableNames;

    public String getModuleName() {
        return moduleName;
    }

    public void setModuleName(String moduleName) {
        this.moduleName = moduleName;
    }

    public String getDbType() {
        return dbType;
    }

    public void setDbType(String dbType) {
        this.dbType = dbType;
    }

    public String getDriver() {
        return driver;
    }

    public void setDriver(String driver) {
        this.driver = driver;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getSchema() {
        return schema;
    }

    public void setSchema(String schema) {
        this.schema = schema;
    }

    public String getUser() {
        return user;
    }

    public void setUser(String user) {
        this.user = user;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getProjectName() {
        return projectName;
    }

    public void setProjectName(String projectName) {
        this.projectName = projectName;
    }

    public String getProjectSimpleName() {
        return projectSimpleName;
    }

    public void setProjectSimpleName(String projectSimpleName) {
        this.projectSimpleName = projectSimpleName;
    }

    public String getProjectSysName() {
        return projectSysName;
    }

    public void setProjectSysName(String projectSysName) {
        this.projectSysName = projectSysName;
    }

    public Integer getPort() {
        return port;
    }

    public void setPort(Integer port) {
        this.port = port;
    }

    public String getPackageName() {
        return packageName;
    }

    public void setPackageName(String packageName) {
        this.packageName = packageName;
    }

    public String getAuthor() {
        return author;
    }

    public void setAuthor(String author) {
        this.author = author;
    }

    public String getCreateHtmlPage() {
        return createHtmlPage;
    }

    public void setCreateHtmlPage(String createHtmlPage) {
        this.createHtmlPage = createHtmlPage;
    }

    public String getAccessBaseUrl() {
        return accessBaseUrl;
    }

    public void setAccessBaseUrl(String accessBaseUrl) {
        this.accessBaseUrl = accessBaseUrl;
    }

    public List<String> getTableNames() {
        return tableNames;
    }

    public void setTableNames(List<String> tableNames) {
        this.tableNames = tableNames;
    }
}

